<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  <script type="text/javascript" src="source/thsApi.js">
  </script>
  <script type="text/javascript" src="source/cefApi.js">

  </script>
  <script type="text/javascript">
//     var quote = external.createObject('Quote');
//     var time = quote.getServerTime();
// if(time){
//
// }
    (async()=>{

    var quote = new ThsQuote();
    var time = await quote.getServerTime();
    console.log(time);
    })();



    cefClientApi.thsQuote.getServerTime(function(data){
      console.log(data);
    });

  </script>
</body>
</html>
